package com.njkwt.business.system.dto;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
* @Class OrgDto
* @Description
* @Author ydj (171799383@qq.com)
* @Date 2020-8-18 12:38:41
* @Version V1.0
**/


public class OrgDto {

    /**
     * 流水号
     */
    private String id;

    /**
     * 节点语义ID
     */
    private String cascadeid;

    /**
     * 组织名称
     */
    private String name;

    /**
     * 热键
     */
    private String hotkey;

    /**
     * 父节点名称
     */
    private String parentname;

    /**
     * 是否叶子节点
     */
    private Integer isleaf;

    /**
     * 是否自动展开
     */
    private Integer isautoexpand;

    /**
     * 节点图标文件名称
     */
    private String iconname;

    /**
     * 当前状态
     */
    private Integer status;

    /**
     * 业务对照码
     */
    private String bizcode;

    /**
     * 自定义扩展码
     */
    private String customcode;

    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createtime;

    /**
     * 创建人ID
     */
    private Integer createid;

    /**
     * 排序号
     */
    private Integer sortno;

    /**
     * 父节点流水号
     */
    private String parentid;

    /**
     * 分类名称
     */
    private String typename;

    /**
     * 分类ID
     */
    private String typeid;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCascadeid() {
        return cascadeid;
    }

    public void setCascadeid(String cascadeid) {
        this.cascadeid = cascadeid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHotkey() {
        return hotkey;
    }

    public void setHotkey(String hotkey) {
        this.hotkey = hotkey;
    }

    public String getParentname() {
        return parentname;
    }

    public void setParentname(String parentname) {
        this.parentname = parentname;
    }

    public Integer getIsleaf() {
        return isleaf;
    }

    public void setIsleaf(Integer isleaf) {
        this.isleaf = isleaf;
    }

    public Integer getIsautoexpand() {
        return isautoexpand;
    }

    public void setIsautoexpand(Integer isautoexpand) {
        this.isautoexpand = isautoexpand;
    }

    public String getIconname() {
        return iconname;
    }

    public void setIconname(String iconname) {
        this.iconname = iconname;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getBizcode() {
        return bizcode;
    }

    public void setBizcode(String bizcode) {
        this.bizcode = bizcode;
    }

    public String getCustomcode() {
        return customcode;
    }

    public void setCustomcode(String customcode) {
        this.customcode = customcode;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getCreateid() {
        return createid;
    }

    public void setCreateid(Integer createid) {
        this.createid = createid;
    }

    public Integer getSortno() {
        return sortno;
    }

    public void setSortno(Integer sortno) {
        this.sortno = sortno;
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public String getTypeid() {
        return typeid;
    }

    public void setTypeid(String typeid) {
        this.typeid = typeid;
    }


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", cascadeid=").append(cascadeid);
        sb.append(", name=").append(name);
        sb.append(", hotkey=").append(hotkey);
        sb.append(", parentname=").append(parentname);
        sb.append(", isleaf=").append(isleaf);
        sb.append(", isautoexpand=").append(isautoexpand);
        sb.append(", iconname=").append(iconname);
        sb.append(", status=").append(status);
        sb.append(", bizcode=").append(bizcode);
        sb.append(", customcode=").append(customcode);
        sb.append(", createtime=").append(createtime);
        sb.append(", createid=").append(createid);
        sb.append(", sortno=").append(sortno);
        sb.append(", parentid=").append(parentid);
        sb.append(", typename=").append(typename);
        sb.append(", typeid=").append(typeid);
        sb.append("]");
        return sb.toString();
    }

}